﻿using AbpOne.EntityFrameworkCore;
using Microsoft.Extensions.DependencyInjection;
using Volo.Abp.Modularity;

namespace AbpOne.EntityFrameworkCore.DbMigrations.EntityFrameworkCore {
    /// <summary>
    /// 模块类
    /// </summary>
    [DependsOn(
        typeof(AbpOneFrameworkCoreModule)
    )]
    public class AbpOneEntityFrameworkCoreDbMigrationsModule : AbpModule {
        public override void ConfigureServices(ServiceConfigurationContext context) {
            context.Services.AddDbContext<AbpOneMigrationsDbContext>();
        }
    }
}